import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;


public class FileUtils {

	   public static void appendToFile(String content) {
			
	    	FileWriter fw;
			try {
				fw = new FileWriter("cmds.cps", true);
		    	BufferedWriter bw = new BufferedWriter(fw);
		    	bw.write(content);
		    	bw.close();
			} catch (IOException e) {
				System.out.println("ERROR: ioexception when appending to file.");
				e.printStackTrace();
			}
	   }

}
